<!DOCTYPE html>

<html>

<head>
  <meta charset="utf-8">
  <title>注册 - 用户</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="${request.contextPath}/static/modules/web/kdayunadmin/style/admin.css" media="all">
  <link rel="stylesheet" href="${request.contextPath}/static/modules/web/kdayunadmin/style/login.css" media="all">
  <link rel="stylesheet" href="${request.contextPath}/static/libs/ztree/css/metroStyle/metroStyle.css" media="all" />
  <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all" />
  <link rel="stylesheet" href="${request.contextPath}/static/css/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="${request.contextPath}/static/modules/manager/css/global.css" media="all" />
  <!-- 添加发生重大事件获取哀悼日需要把网站变灰的样式 -->
  <@config id = Global.SYSOPTKEY_ISOPENZHIHUI orgid = "${orgid}" >
      <link id="filterCss" rel="stylesheet" href="${request.contextPath}/static/modules/manager/css/filter.css?v=<@configVersion suosxt='CORE'> </@configVersion>" media="all">
  </@config>   
  <link rel="icon" href="${request.contextPath}<@configValue id='CAAB580980C74A169D8AFEB418ABB5AA' orgid='${orgid}'> </@configValue>" type="image/x-icon"/>
</head>
<style>
  .layadmin-user-login{
    <#--  background: url(${request.contextPath}/static//image/bg_registe.jpg) no-repeat center;
    background-size:100% 100%;   -->
  }
  .select-tree .layui-select-title .layui-input{
      padding-left: 38px;
      border: solid 1px #e6e6e6;
    }
    
    .select-tree.layui-form-danger .layui-select-title .layui-input{
    	border:1px solid #FF5722	
    }

    .strenth-bar{
      display: inline-block;
      border: 1px solid #ccc;
      padding: 2px 5px;
      border-radius: 8px;
      vertical-align: sub;
    }
    .strenth-bar .layui-progress{
      width: 150px;
      height: 8px;
      float: left;
      border-radius: 0;
    }
    .strenth-bar .layui-progress .layui-progress-bar{
      width: 0;
      height: 8px;
      border-radius: 0;
    }
    .layadmin-user-login-footer a{ color:#fff}
</style>

<body id="zhengling-zhuye">

  <div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none; background: #fefefe;">
    <div class="layadmin-user-login-main">
      <div class="layadmin-user-login-box layadmin-user-login-header">
        <h2>用户注册</h2>
      </div>
      <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
        <input value="${orgid}" type="hidden" name='ORGID'>
        <input value="<@configValue id=Global.SYSOPTKEY_ISOPENPASSWORDINFO orgid='${orgid}'> </@configValue>" type="hidden" name='PassStrongCheck'>
        <input value="1" type="hidden" name='SYS_PID'>
        <input value="1" type="hidden" name='ISUSED'>
        <input value="${vcodekey}" type="hidden" name="vcodekey">
        <div class="layui-form-item">
          <label class="layadmin-user-login-icon layui-icon layui-icon-cellphone" for="SHOUJH"></label>
          <input type="text" name="SHOUJH" id="LAY-user-regedit-cellphone" lay-verify="required|phone|number" placeholder="手机" class="layui-input"
            maxlength="11">
        </div>
        <div class="layui-form-item">
          <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="OBJNAME"></label>
          <input type="text" name="OBJNAME" lay-verify="objname|name" placeholder="真实姓名" class="layui-input" maxlength="20">
        </div>
        <div class="layui-form-item">
          <label class="layadmin-user-login-icon layui-icon layui-icon-release" for="ZHANGHM"></label>
          <input type="text" name="ZHANGHM" lay-verify="required|zhanghm" placeholder="登录账号" class="layui-input"
            maxlength="20">
        </div>
        <div class="layui-form-item">
          <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="PSW"></label>
          <input type="password" name="PSW" id="LAY-user-login-password" lay-verify="required|pass" placeholder="密码"
            class="layui-input" maxlength="16" autocomplete="off">
          <@configNot id=Global.SYSOPTKEY_ISOPENPASSWORDINFO value='none' orgid='${orgid}'>
            <div style="padding-top: 2px; padding-left:12px">
            <span class="psStrong" style="wdith:15px;height:15px">密码强度</span>
              <div class="strenth-bar">
                  <div class="layui-progress" lay-filter="strenth">
                    <div class="layui-progress-bar"></div>
                  </div>
              </div>
              <span class="strenth_Text">无</span>
            </div>
          </@configNot>

        </div>
        <div class="layui-form-item">
          <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="repass"></label>
          <input type="password" name="repass" id="LAY-user-login-repass" lay-verify="required|pass" placeholder="确认密码"
            class="layui-input" maxlength="16" autocomplete="off">
        </div>
        <div class="layui-form-item layui-form-select" style="background-color: white;">
          <label class="layadmin-user-login-icon zlui-icon zlui-icon-department" for="MNGDEPIDS"></label>
          <div name="MNGDEPIDS" zlcomponent class="layui-form-select select-tree" lay-verify="required" settings="{'verify':'required','left':'0','Multiple':true,'chkboxType':'{&quot;Y&quot;: &quot;&quot;, &quot;N&quot;: &quot;&quot; }',placeholder:'请选择部门', name: 'OBJNAME', idKey: 'RWID', pIdKey: 'SYS_PARENTID', rootPid: null, method:'post',params:'{ORGID:&quot;${orgid}&quot;}' ,dataurl:'${request.contextPath}/admin/bddept/queryuse'}">
          </div>
        </div>
        <div class="layui-form-item" style="background-color: white;">
          <label class="layadmin-user-login-icon layui-icon layui-icon-user" for="ROLEIDS"></label>
          <div name="ROLEIDS" zlcomponent class="layui-form-select select-tree" settings="{'verify':'required','left':'0','Multiple':true,'chkboxType':'{&quot;Y&quot;: &quot;ps&quot;, &quot;N&quot;: &quot;s&quot; }',placeholder:'请选择角色', name: 'OBJNAME', idKey: 'RWID', pIdKey: 'SYS_PARENTID', rootPid: null, method:'get',params:'{ORGID:&quot;${orgid}&quot;}' ,dataurl:'${request.contextPath}/manager/coreroleauth/queryRole'}">
          </div>
        </div>
        <#-- <div class="layui-form-item" style="background-color: white;">
          <label class="layadmin-user-login-icon layui-icon layui-icon-list" for="zhijid"></label>
          <div name="ZHIJID" zlcomponent class="layui-form-select select-tree" settings="{'verify':'required','left':'0','Multiple':false,'chkboxType':'{&quot;Y&quot;: &quot;ps&quot;, &quot;N&quot;: &quot;s&quot; }',placeholder:'请选择职级', name: 'VALUE', idKey: 'KEY', pIdKey: 'SYS_PARENTID', rootPid: null, method:'get',params:'{ORGID:&quot;${orgid}&quot;}' ,dataurl:'${request.contextPath}/manager/coredictionary/querydictionarybyid?RWID=B2141F891A774EF78B6B650FF8B87363'}">
          </div>
      </div> -->
      <#-- <div class="layui-form-item" style="background-color: white;">
        <label class="layadmin-user-login-icon layui-icon layui-icon-user" for="sfzb"></label>
        <div class="layui-form-mid" style="margin-left:36px">是否在编</div>
        <div class="layui-input-block">
          <input type="radio" name="SHIFZB" value="1" title="是" checked>
          <input type="radio" name="SHIFZB" value="0" title="否">
        </div>
    </div> -->
    <div class="layui-form-item" style="background-color: white;border:1px solid #e6e6e6">
      <label class="layadmin-user-login-icon zlui-icon zlui-icon-sex" for="XINGB"></label>
      <div class="layui-form-mid" style="margin-left:36px">性别</div>
      <div class="layui-input-block">
        <input type="radio" name="XINGB" value="1" title="男" checked>
        <input type="radio" name="XINGB" value="0" title="女">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layadmin-user-login-icon zlui-icon zlui-icon-mail" for="YOUX"></label>
      <input type="text" name="YOUX" lay-verify="email" placeholder="邮箱" class="layui-input"
        maxlength="50">
    </div>
    <#---<div class="layui-form-item">
      <input type="checkbox" name="agreement" lay-skin="primary" title="同意用户协议" checked>
  </div>-->
  <@config id=Global.SYSOPTKEY_ISOPENREGERITINFO value='vcode' orgid='${orgid}'>
    <div class="layui-form-item">
      <div class="layui-row">
        <div class="layui-col-xs7">
          <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="regvercode"></label>
          <input type="text" name="validCode" id="regvercode" lay-verify="required" placeholder="图形验证码" class="layui-input">
        </div>
        <div class="layui-col-xs5">
          <div style="margin-left: 10px;">
            <img id="captchaImg" src="${request.contextPath}/captcha.jpg?vcodekey=${vcodekey}&type=simple" class="layadmin-user-login-codeimg"
              id="LAY-user-get-vercode">
          </div>
        </div>
      </div>
    </div>
  </@config>
  <@config id=Global.SYSOPTKEY_ISOPENREGERITINFO value='sms' orgid='${orgid}'>
    <div class="layui-form-item">
      <div class="layui-row">
        <div class="layui-col-xs7">
          <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="regvercode"></label>
          <input type="text" name="validCode" id="regvercode" lay-verify="required" placeholder="图形验证码" class="layui-input" maxlength="8">
        </div>
        <div class="layui-col-xs5">
          <div style="margin-left: 10px;">
            <img id="captchaImg" src="${request.contextPath}/captcha.jpg?vcodekey=${vcodekey}&type=simple" class="layadmin-user-login-codeimg"
              id="LAY-user-get-vercode">
          </div>
        </div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-row">
        <div class="layui-col-xs7">
          <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="LAY-user-login-smscode"></label>
          <input type="text" name="smscode" id="LAY-user-login-smscode" lay-verify="required" placeholder="短信验证码" class="layui-input">
        </div>
        <div class="layui-col-xs5">
          <div style="margin-left: 10px;">
            <button type="button" class="layui-btn layui-btn-primary layui-btn-fluid" id="LAY-user-getsmscode">获取验证码</button>
          </div>
        </div>
      </div>
    </div>
  </@config>

  <div class="layui-form-item">
    <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="LAY-user-reg-submit">注 册</button>
  </div>
  <div class="layui-trans layui-form-item layadmin-user-login-other" style="padding-top:0">
    <a href="${request.contextPath}/logout" class="layadmin-user-jump-change layadmin-link layui-show-xs-inline-block layui-hide-xs">用已有帐号登录</a>
    <#--  <a href="/" class="layadmin-user-jump-change layadmin-link layui-hide-sm layui-show-xs-inline-block">登录</a>  -->
  </div>
  </div>
  </div>
  <div class="layui-trans layadmin-user-login-footer" style="background:#277FD0;color:#fff">
    <#include "/web/foot.ftl" />
  </div>
  </div>
  <script src="${request.contextPath}/static/libs/md5.js"></script>
  <#include "base/pagefoot.ftl"/>

  <script src="${request.contextPath}/static/modules/web/regedit.js?v=<@configVersion suosxt='CORE'> </@configVersion>"></script>


</body>

</html>